export type LaborModel = {
  id: string | number //id
  totalCount: number //列表个数
  list: any //列表
  fileList: any //附件列表
  entityId: string //流程id
  workFlowList: any
}

const api: ApiConfig = {
  // 劳务-列表
  laborList: {
    method: 'GET',
    url: '/oa/labor/labor/list'
  },
  // 劳务-新增
  laborAdd: {
    method: 'POST',
    url: '/oa/labor/labor/save'
  },
  // 劳务-添加常用访客
  saveCommonInfo: {
    method: 'POST',
    url: '/oa/labor/labor/saveCommonInfo'
  },
  // 劳务-修改
  laborUpdate: {
    method: 'POST',
    url: '/oa/labor/labor/update'
  },
  // 劳务-详情
  laborInfo: {
    method: 'GET',
    url: '/oa/labor/labor/info/:id'
  },
  // 劳务-获取常用访客信息列表
  getCommonInfoList: {
    method: 'GET',
    url: '/oa/labor/labor/getCommonInfoList'
  },
  // 劳务-部门劳务费列表
  laborDeptList: {
    method: 'GET',
    url: '/oa/labor/labor/deptList'
  },
  // 劳务-删除劳务报酬信息
  laborDelete: {
    method: 'POST',
    url: '/oa/labor/labor/deleteInfoCommon'
  },
  // 劳务-全馆劳务费列表
  laborAllList: {
    method: 'GET',
    url: '/oa/labor/labor/allList'
  },
  // 劳务部门列表导出excel
  deptExport: {
    method: 'GET',
    url: '/oa/labor/labor/deptExport',
    responseType: 'blob'
  },
  // 劳务全馆列表导出excel
  laborListExport: {
    method: 'GET',
    url: '/oa/labor/labor/laborListExport',
    responseType: 'blob'
  },
  // 劳务导出pdf
  laborExport: {
    method: 'GET',
    url: '/oa/labor/labor/laborExport',
    responseType: 'blob'
  },
}

export default api
